const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  routes: state => state.permission.allRoutesRules,
  points: state => state.permission.points,
  avatar: state => state.user.userInfo.staffPhoto,
  username: state => state.user.userInfo.username
}

export default getters
